package kr.co.fashionmai.service;

import java.util.List;

import org.springframework.core.annotation.Order;
import org.springframework.web.bind.annotation.RequestParam;

import kr.co.fashionmai.dao.FrontDao;
import kr.co.fashionmai.vo.Member;
import kr.co.fashionmai.vo.OrderSheet;

public class FrontService 
{
	private FrontDao dao;
	
	public FrontService(FrontDao dao)
	{
		this.dao = dao;
	}
	
	public Member checkLogion(Member member)
	{
		return  dao.checkLogion(member);
	}
	
	public List<OrderSheet> getOrderSheetList(OrderSheet orderSheet)
	{
		return dao.getOrderSheetList(orderSheet);
	}
	
	public int getTotalCount(OrderSheet orderSheet)
	{
		return dao.getTotalCount(orderSheet);
	}
	
	public boolean insert(OrderSheet orderSheet)
	{
		return dao.insert(orderSheet);
	}
	
	public boolean delete(String titleNo)
	{
		return dao.delete(titleNo);
	}
	
	public OrderSheet updateSelect(String titleNo)
	{
		return dao.updateSelect(titleNo);
	}
	
	public OrderSheet select(String titleNo)
	{
		return dao.select(titleNo);
	}
	
	public String titleCheck(String titleNo)
	{
		return dao.titleCheck(titleNo);
	}
}
